﻿using CefSharp.Wpf;
using System;

namespace TVideo.Cef
{
    public class ExtChromiumWebBrowser : ChromiumWebBrowser
    {
        public event EventHandler<NewWindowEventArgs>? StartNewWindow;

        public void OnNewWindow(NewWindowEventArgs e)
        {
            StartNewWindow?.Invoke(this, e);
        }
    }
}
